package com.ltkj.system.domain.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ltkj.common.core.annotation.Excel;
import com.ltkj.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 用户和基础店铺关联信息 sys_user_stores
 * 
 * @author xupf
 * @date 2023-09-09
 */
public class SysUserStoresVo
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;

    /** 基础店铺ID */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long sysStoresId;

    /** 用户账号 */
    private String userName;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phonenumber;

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setSysStoresId(Long sysStoresId)
    {
        this.sysStoresId = sysStoresId;
    }

    public Long getSysStoresId()
    {
        return sysStoresId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("sysStoresId", getSysStoresId())
            .append("userName", getUserName())
            .append("phonenumber", getPhonenumber())
            .toString();
    }
}
